//
//  AXFShopPayOkeyView.m
//  AXFEightGroup
//
//  Created by ya on 12/28/16.
//  Copyright © 2016 ya. All rights reserved.
//

#import "AXFShopPayOkeyView.h"

@interface AXFShopPayOkeyView ()

@property (weak, nonatomic) IBOutlet UILabel *totalPriceLabel;


@end

@implementation AXFShopPayOkeyView

- (void)setTotalPrice:(CGFloat)totalPrice {
    _totalPrice = totalPrice;
    self.totalPriceLabel.text = [NSString stringWithFormat:@"%.1f", totalPrice];
}


- (IBAction)actionOkeyPayClicked:(UIButton *)sender {
    NSLog(@"跳转支付页面");
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
